﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BackGround : MonoBehaviour {
    
    public float m_fBackGroundVolume = 0.3f;
    void Awake()
    {
        AudioMgr.PlayeAudio(gameObject, AttTypeDefine.EAudioType.Audio_Back, "BackGround", m_fBackGroundVolume, true);
    }
    /*private void OnGUI()
    {
        float bar = GUI.HorizontalScrollbar(new Rect(10f,10f,200f,10f), GlobalHelper.backGround.volume, 0.2f, 0f, 1f);
        if (bar != GlobalHelper.backGround.volume)
        {
            GlobalHelper.backGround.volume = bar;
        }
    }*/
}
